/**
 * cacheController TEST
 */


const assert = require("assert");

const cacheController = require('../../../controller/cacheController/index')
const path = require("path");
const fs = require("fs");
describe('测试缓存控制器', () => {
    it('should 保存压缩的HTML', () => {
        assert.equal(true, true)
        let html = fs.readFileSync(path.join(__dirname, '../../../views/news/index.html'), {encoding: "utf8"})
        console.log(cacheController.saveHTMLtoCache(html,'/news/1809'))
    });
});